.class Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;
.super Ljava/lang/Object;
.source "MergeVideoAndImagePreviewActivity.java"

# interfaces
.implements Lcom/esfile/screen/recorder/videos/merge/a0$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->b(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->d()V

    return-void
.end method

.method public a(I)V
    .locals 1

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->b(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setProgress(I)V

    return-void
.end method

.method public a(Ljava/lang/Exception;)V
    .locals 1

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->b(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->a()V

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->a(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;Ljava/lang/Exception;)V

    return-void
.end method

.method public a(Ljava/lang/String;Z)V
    .locals 5

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->b(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->a()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    sget v3, Les/z4;->sender_default_path:I

    invoke-virtual {v2, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Les/ec;->a(Landroid/content/Context;Ljava/lang/String;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/DuVideoEditResultActivity;->a(Landroid/content/Context;Ljava/lang/String;Z)V

    .line 6
    invoke-static {}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->A()Ljava/lang/Runnable;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 7
    invoke-static {}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->A()Ljava/lang/Runnable;

    move-result-object p1

    invoke-interface {p1}, Ljava/lang/Runnable;->run()V

    .line 8
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->c(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_4

    .line 9
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->c(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    const/4 p2, 0x0

    const/4 v0, 0x0

    const/4 v1, 0x0

    :cond_1
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/esfile/screen/recorder/videos/merge/b0;

    .line 10
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/merge/b0;->j()Z

    move-result v3

    if-eqz v3, :cond_2

    add-int/lit8 p2, p2, 0x1

    int-to-long v3, v1

    .line 11
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/merge/b0;->a()J

    move-result-wide v1

    :goto_1
    add-long/2addr v3, v1

    long-to-int v1, v3

    goto :goto_0

    .line 12
    :cond_2
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/merge/b0;->i()Z

    move-result v3

    if-eqz v3, :cond_1

    add-int/lit8 v0, v0, 0x1

    int-to-long v3, v1

    .line 13
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/merge/b0;->a()J

    move-result-wide v1

    goto :goto_1

    :cond_3
    add-int p1, p2, v0

    .line 14
    div-int/lit16 v1, v1, 0x3e8

    const-string v2, "preview"

    invoke-static {p1, p2, v0, v1, v2}, Lcom/esfile/screen/recorder/videos/merge/c0;->a(IIIILjava/lang/String;)V

    :cond_4
    return-void
.end method

.method public b()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity$b;->a:Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;->b(Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImagePreviewActivity;)Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->a()V

    const-string v0, "preview"

    .line 2
    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/c0;->a(Ljava/lang/String;)V

    return-void
.end method
